Skip to content

A few tracing/profiling improvements - #9010

Merged
charlieegan3 merged 1 commit into
open-policy-agent:mainfrom
anderseknert:profile-trace-improve
Aug 13, 2026
Merged

A few tracing/profiling improvements#9010
charlieegan3 merged 1 commit into
open-policy-agent:mainfrom
anderseknert:profile-trace-improve

Conversation

@anderseknert

Copy link
Copy Markdown
Member

Another branch I had around since way back but forgotten about. I was most likely planning to do more at the time but the changes here all look reasonable to me, so might as well get them in.

Another branch I had around since way back but forgotten about.
I was most likely planning to do more at the time but the changes
here all look reasonable to me, so might as well get them in.

Signed-off-by: Anders Eknert <anders.eknert@apple.com>
@charlieegan3
charlieegan3 merged commit 7aaf1c5 into open-policy-agent:main Aug 13, 2026
43 checks passed
@github-actions

Copy link
Copy Markdown
Benchmark Comparison (`1683dd6338464dff9ab68d128402db2d4f88aa02` vs `7aaf1c538fe602581690253cf6adf2cb5519d0d9`)
benchmark delta
SumIntArray -1.27%
SumIntSet -4.12%
BuiltinGlobMatchAsync/reuse-pattern=false,_clients=100,_pattern-count=1000 +1.80%
GraphQLSchemaIsValid/Schema_w/1000_types-_string +1.33%
GraphQLParseSchema/Trivial_Schema_with_cache_-_string +1.71%
GraphQLIsValid/Trivial_Schema_with_cache_-_string +1.63%
GraphQLParse/Trivial_Schema_with_cache_-_string +1.30%
GraphQLParseAndVerify/Trivial_Schema_with_cache_-_string +3.97%
JSONFilterArray/size=10 +1.76%
JSONFilterArray/size=100 +2.04%
JSONPatchAddShallowScalar/object-10000 +7.13%
JSONPatchAddShallowScalar/array-1000 +0.62%
JSONPatchAddShallowScalar/array-10000 +0.63%
JSONPatchAddShallowComposite/object-10-10000 +7.81%
JSONPatchAddShallowComposite/object-10000-10 +2.28%
JSONPatchAddShallowComposite/object-10000-100 +2.16%
JSONPatchAddShallowComposite/array-100-10000 +6.20%
JSONPatchAddShallowComposite/set-10-1000 -1.55%
JSONPatchAddShallowComposite/set-100-100 -1.15%
JSONPatchAddShallowComposite/set-100-1000 -1.23%
JSONPatchAddShallowComposite/set-100-10000 -1.62%
JSONPatchAddShallowComposite/set-1000-10 -1.32%
JSONPatchAddShallowComposite/set-1000-100 -1.17%
JSONPatchAddShallowComposite/set-1000-1000 -2.26%
JSONPatchAddShallowComposite/set-1000-10000 -1.01%
JSONPatchAddRemove/array-100-10000 +1.14%
JSONPatchAddRemove/array-1000-1000 +1.31%
JSONPatchAddRemove/array-1000-10000 +0.82%
JSONPatchAddRemove/array-10000-1000 +1.40%
JSONPatchAddRemove/set-1000-10 -1.67%
JSONPatchReplace/1000x100x10-1000p -1.09%
NumbersRange/not_interned +4.78%
ObjectUnionN/10x10 +1.39%
ObjectUnionN/10x100 +1.55%
ObjectUnionN/10x250 +2.29%
ObjectUnionN/100x100 +2.17%
ObjectUnionN/100x250 +2.46%
ObjectUnionN/250x10 +1.84%
ObjectUnionN/250x250 +4.05%
ObjectUnionNCallOnly/merge_empty +4.73%
ObjectUnionNCallOnly/merge_equal +2.08%
ObjectUnionNCallOnly/merge_non-overlapping +2.40%
ObjectUnionNCallOnly/merge_overlapping +3.02%
ObjectUnionNCallOnly/merge_nested +2.79%
ObjectUnionNCallOnly/merge_nested_with_conflict +2.20%
ObjectUnionNCallOnly/merge_nested_1_equal_branch +1.40%
ObjectUnionNCallOnly/merge_nested_no_equal_branch +1.62%
BuiltinRegexMatchAsync/reuse-pattern=true,_clients=200,_pattern-count=1000 -3.34%
SetIntersectionSlow/50x10 -3.30%
SetIntersectionSlow/50x50 -3.04%
SetIntersectionSlow/50x100 -2.90%
SetIntersectionSlow/100x10 -4.03%
SetIntersectionSlow/100x50 -3.82%
SetIntersectionSlow/100x100 -4.36%
SetUnionSlow/100x100 -1.25%
BulkStartsWithNaive +2.48%
BulkStartsWithOptimized +1.94%
Concat/100_elements_','_sep +3.52%
LongSprintf +2.11%
BuiltinTemplateString/single_string_part +3.54%
BuiltinTemplateString/single_undefined_part +3.76%
BuiltinTemplateString/primitives +3.01%
BuiltinTemplateString/multiple_outputs +3.05%
Tokens_Cache/concurrency:_1000,_JWT_count:_1 +3.21%
ArrayPlugging/1000 -1.07%

This comment was automatically generated by the benchmarks workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants